package com.example.everying.model.dto.user;/*
 * 项目名称: everything
 * 文件名: UpdateInformationDto
 * 作者: 张泽阳
 * 日期: 2025/5/23
 * 描述:
 */

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UpdateInformationDto {

    @ApiModelProperty(value = "真实姓名")
    @NotNull(message = "真实姓名不能为空")
    private String realName;

    @ApiModelProperty(value = "学校名称")
    @NotNull(message = "学校名称不能为空")
    private String schoolName;

    @ApiModelProperty(value = "学号")
    @NotNull(message = "学号不能为空")
    @Size(min = 6, message = "学号长度不能小于6位")
    private String studentId;

    @ApiModelProperty(value = "学生证url")
    @NotNull(message = "学生证不能为空")
    private String schoolAccreditation;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;
}
